Mike Hyde's Special Projects

My Map Viewer

Background

We currently use two different map viewers to interactiveky display data on a map. We have one for the PC and one for the iOS devices (iPhone & iPad). The iOS version is not as interactive as we need it to be.

Attempt #1

Searching the internet, I found an example which seemd to fit. It can read in multiple files, has selectable layers, can display different icons, but unfortynately is not interactive on the iPad.

The code:

The display:

Attempt #2

I found a site, Leafletjs.com which looked promising. There was a plugin, Leaflet.geoCSV which appeard to do exactly what I wanted, so I created what I could from tyhe sample code.

The code:

The Display:

It can display data from the file, but I am unable to get the icons to change, based off of the data in the file.

The Data:

Modified text files.